package cn.ncupyh;

public class inhabitantMain {
    public static void main(String[] args) {
        inhabitant in = new inhabitant("张三","9638527410","2000-12-12");
        mature ma = new mature("李四","1234567890","1998-10-10","本科","老师");
        officer of = new officer("翠花","1234567891","2001-10-12","硕士","科学家","中国共产党","宣传");
        System.out.println(in.getName() + in.getId() + in.getBirthday() );
        System.out.println(ma.getName() + ma.getId() + ma.getBirthday() + ma.getEducation() + ma.getOccpuation());
        System.out.println(of.getName() + of.getId() + of.getBirthday() + of.getEducation() + of.getOccpuation() + of.getParty() + of.getJob());


    }
}
